Returns a PackageReader that can read files from a package in this store.
Parent Type: PackageStore
Namespace: Microsoft.LearningComponents.Storage
Assembly: Microsoft.LearningComponents.Storage.dll
| C# |
|
public abstract PackageReader GetPackageReader ( ) |
packageId
The identifier of the package to be read.
A PackageReader that can read files from the requested package.
| Exception type | Condition |
| LearningStoreItemNotFoundException | Thrown if packageId does not represent a package in the store. |
It is recommended that derived classes of PackageStore also implement a derived class of PackageReader that is capable of reading files on behalf of the subclassed PackageStore.